package com.union.official.entity.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 广告管理
 * </p>
 *
 * @author union
 * @since 2024-03-06
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("sys_adverts")
@ApiModel(value="SysAdvertsPO对象", description="广告管理")
public class SysAdvertsDO implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "广告名称")
    private String advertsName;

    @ApiModelProperty(value = "图片")
    private String pictureUrl;

    @ApiModelProperty(value = "跳转链接")
    private String jumpUrl;

    @ApiModelProperty(value = "广告位置")
    private Integer advertsPosition;

    @ApiModelProperty(value = "权重")
    private Long weight;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "状态  0正常  1关闭")
    private Integer status;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty(value = "修改人")
    private String updateBy;

    @ApiModelProperty(value = "修改时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "删除标识 默认0正常 1已删除")
    private Integer deleted;

    @ApiModelProperty(value = "展示类型")
    private Integer displayLocation;


}
